<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>渠道部光猫数据监测系统</title>
<style>
    .custom-row-color td,
    .custom-row-color a {
        color: #417690 !important;
        text-decoration: none;
    }

    /* 鼠标悬停时保持可读性 */
    .custom-row-color:hover td,
    .custom-row-color:hover a {
        color: #2a4b5c !important;
    }

    .table thead th {
      color: #417690;
    }

    .table thead td {
      color: #417690;
    }
</style>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"/>
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" rel="stylesheet"/>
</head>

<body style="background-color: #fff min-vh-100;">
  <!-- 顶部导航栏 -->
  <nav class="navbar navbar-expand-lg navbar-dark sticky-top" style="background-color: #417690; ">
    <div class="container-fluid">
      <a class="navbar-brand"  href="{% url 'index' %}" style="color: #f5dd5d; margin-left: 25px;">光猫数据监测</a>
      <div class="d-flex align-items-center">
        <span class=" me-2 fs-6" style="color: #f5dd5d;"><i class="fa-solid fa-user-tie"></i>
          {{ request.user.username }}</span>

        <a class="btn btn-outline-light btn-sm" href="{% url 'logout' %}" style="margin-left: 15px;">退出登录</a>
      </div>
    </div>
  </nav>

  <!-- 面包屑导航 -->
  <!-- <nav aria-label="breadcrumb" class="shadow-sm">
    <div class="container-fluid" style="background-color: #264b5d;">
      <ol class="breadcrumb py-2 m-0">
        <li class="breadcrumb-item" style="margin-left: 25px;">
            <a href="{% url 'index' %}" style="color: #eff4bc;">首页</a>
        </li>
        <li class="breadcrumb-item active" aria-current="page"  style="color: #c4dce8;">
          {% block breadcrumb_current %}
          {% endblock %}
        </li>
      </ol>
    </div>
  </nav> -->

  {% block content %}

  {% endblock %}
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>

  <footer class="footer" style="background-color: #f8f9fa; padding-top: 1rem; padding-bottom: 1rem; margin-top: 30px;">
      <div class="container text-center">
          <div class="mb-2" style="color: #417690;">2025年 渠道部光猫数据监测系统</div>


          <span style="color: #417690;">copyright © 齐齐哈尔创新工作室</span>
      </div>
  </footer>
</body>
</html>
